export function getRouterByType(type) {
    //维修验收和挂起审核要跳到列表页面
    const routers = {
        1: "/device-basic/component/detail/index",
        2: "/device-dataIndentify/components/add-plan/detail",
        3: "/plant-check/component/add-plan/detail",
        4: "/device-patrol/component/add-plan/detail",
        5: "/device-preserve/component/addPlan/detail",
        6: "/device-repair/repairItems/component/detail/index",
        7: "/device-repair/maintenance/component/detail/index",
        8: "/device-preserve/component/addRecord/detail",
        9: "/device-repair/repairItems/index", //维修
        10: "/device-repair/maintenance/index", //维护
    }
    return routers[type]
}